package com.knife.blog.logic;

import com.knife.blog.domain.FriendLink;
import com.knife.web.tools.IPageList;

public interface FriendLinkService {
	FriendLink getFriendLink(String cid);
	boolean addFriendLink(FriendLink link);
	boolean delFriendLink(String cid);
	int batchDelFriendLink(String[] cids);
	boolean updateFriendLink(FriendLink link);
	
	IPageList queryFriendLink(String username,int currentPage,int pageSize);
	java.util.List getTopFriendLink(String username,int topNum);
}
